package org.raymond.iworks.commons.constants;

public class MQConstants {
    public final static String EXCHANGE_LOG = "log.exchange";
    public final static String QUEUEE_LOG = "log.queue";
    public final static String ROUTING_LOG = "log.routing";
    public final static String EXCHANGE_LOG_DLX = "log.dlx.exchange";
    public final static String QUEUEE_LOG_DLX = "log.dlx.queue";
    public final static String ROUTING_LOG_DLX = "log.dlx.routing";

    public final static String TOPIC_LOG = "log.topic";

    /**
     * 延时队列,不监听任务队列,待超时后路由到死信队列
     */
    public final static String EXCHANGE_TASK = "biz.task.exchange";
    public final static String QUEUEE_TASK = "task.queue";
    public final static String ROUTING_TASK = "task.routing";
    public final static String EXCHANGE_DELAY = "delay.exchange";
    public final static String QUEUEE_DELAY_TASK = "task.delay.queue";
    public final static String ROUTING_DELAY_TASK = "task.delay.routing";

    /**
     * 备用队列,当routingKey为空或未绑定到queue时,投入此exchange
     */
    public final static String ALTERNATE_EXCHANGE = "alternate.exchange";
    public final static String QUEUE_UNROUTED = "unrouted";
}
